@import "base";

* {
  margin: 0;
  font-family: Microsoft YaHei, PingFangSC-Regular, PingFang SC, sans-serif;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 1368px;
  height: 100%;
  font-size: 14px;

  /deep/ .el-message {
    &--error {
      border-color: @allDangerColor;

      .el-message__content, .el-icon-error {
        color: @allDangerColor;
      }
    }

    &--warning {
      border-color: @allWarringColor;

      .el-message__content, .el-icon-warning {
        color: @allWarringColor;
      }
    }

    &--info {
      border-color: @borderColor;

      .el-message__content, .el-icon-info {
        color: @fontColor;
      }
    }
  }

  .required {
    position: relative;

    &:before {
      content: "*";
      color: @allDangerColor;
    }
  }

  /*表格*/

  /deep/ .el-table:not(.el-table--scrollable-x) .el-table__fixed-right, .el-table:not(.el-table--scrollable-x) .el-table__fixed {
    height: 100% !important;
  }

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }

  input[type="number"] {
    -moz-appearance: textfield;
  }

  /*顶部el-tab样式调整*/

  .open-box {
    background: @allWhite;
    margin: -10px -12px 12px;
    padding: 0 24px;

    /deep/ .el-tabs__header {
      margin: 0;
    }

    /deep/ .el-tabs__nav-wrap::after {
      background: transparent;
    }
  }
  .el-tabs__item{
    padding: 0 @commonPaddingOutside;
  }
  /*确认弹框按钮样式*/

  .message .el-button--primary {
    background: @allPrimaryColor;
    border-color: @allPrimaryColor;
  }

  /*分页操作栏样式*/

  /deep/ .el-pagination {
    color: @fontColor;
  }

  /deep/ .el-pagination .el-pagination__total {
    font-size: 12px;
    color: @fontColor;
  }

  /deep/ .el-pagination .el-pagination__sizes {
    font-size: 12px;
    color: @fontColor;
  }

  /deep/ .el-pagination .el-input__inner {
    border: 1px solid #C7CBD1;
    color: @fontColor;
    border-radius: 4px;
    font-size: 12px;
  }

  /deep/ .el-pagination .el-pager li {
    font-size: 12px;
    font-weight: normal;
  }

  /deep/ .el-pagination .el-pager li.active {
    background-color: @allPrimaryColor;
  }

  /deep/ .el-pagination .el-pager li:not(.disabled).active {
    background-color: @allPrimaryColor;
  }
}
